USE [IB_GENEL]
GO

/****** Object:  Table [LOG].[EXCEPTION_UNLOG]    Script Date: 01/31/2013 14:11:20 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [LOG].[EXCEPTION_UNLOG](
	[ExceptionUnLogKey] [int] IDENTITY(1,1) NOT NULL,
	[UnLogMessage] [varchar](200) NOT NULL,
	[IsActive] [char](1) NOT NULL,
 CONSTRAINT [PK_EXCEPTION_UNLOG] PRIMARY KEY CLUSTERED 
(
	[ExceptionUnLogKey] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Message or message part of exception that you dont want to write to database.' , @level0type=N'SCHEMA',@level0name=N'LOG', @level1type=N'TABLE',@level1name=N'EXCEPTION_UNLOG', @level2type=N'COLUMN',@level2name=N'UnLogMessage'
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'If you set unactive by writing ''N'' or something, exception handler won''t write related exception to database.' , @level0type=N'SCHEMA',@level0name=N'LOG', @level1type=N'TABLE',@level1name=N'EXCEPTION_UNLOG', @level2type=N'COLUMN',@level2name=N'IsActive'
GO

